import Vue from "vue";
import Router from "vue-router";
import Home from "@/components/Home";
import Center from "@/components/Center";
import Myorder from "@/components/Myorder";
import register from "@/components/common/register"

Vue.use(Router);

export default new Router({
  mode: "history",
  routes: [
    {
      path: "/",
      name: "Home",
      component: Home
    },
    {
      path: "/center",
      name: "Center",
      component: Center
    },
    {
      path: "/myorder",
      name: "Myorder",
      component: Myorder
    },
    {
      path: "/register",
      name: "register",
      component: register
    }
  ]
});
